package com.oa.hyperion.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oa.hyperion.entity.Employee;

import java.util.List;


public interface EmployeeService extends IService<Employee> {

    //显示在同一个部门的员工
    List<Employee> findAllEmployeeInSameDepartment(Integer departId);

    //显示没有任职 部门leader的员工
    List<Employee> findEmployeeIsNotLeader();

    //新增部门后，修改员工为部门领导
    int updateLeader(Integer leaderId);

        //获取所有员工信息
    List<Employee> findEmployeeWithPost();
}
